﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sale.Domain
{
    /// <summary>
    /// 销售单
    /// </summary>
    public class SalesOrderModel:BaseEntity
    {
        /// <summary>
        /// 销售单Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int SalesOrderId { get; set; }
        /// <summary>
        /// 销售单编号
        /// </summary>
        public string SalesOrderCode { get; set; }
        /// <summary>
        /// 合同Id
        /// </summary>
        public int ContractId { get; set; }
        /// <summary>
        /// 客户Id（主键唯一标识）
        /// </summary>
        public int ClientId { get; set; }
        /// <summary>
        /// 销售数量
        /// </summary>
        public int SaleNumder {  get; set; }
    }
}
